package cglgu.trellis.chado.das2.modelimpl.cglgu;

/*
 * $Id: ChadoSourcesCapability.java 191 2011-03-27 00:38:22Z sundaram.georgetown@gmail.com $
 * $Author: sundaram.georgetown@gmail.com $
 * $Date: 2011-03-27 00:38:22 +0000 (Sun, 27 Mar 2011) $
 * $Rev: 191 $
 * $HeadURL: http://genomancer.googlecode.com/svn/branches/gu-dev-branch/tengcha/src/cglgu/trellis/chado/das2/modelimpl/cglgu/ChadoSourcesCapability.java $
 */

import genomancer.trellis.das2.model.Das2CoordinatesI;
import genomancer.trellis.das2.model.Das2SourceI;
import genomancer.trellis.das2.model.Das2SourcesCapabilityI;
import genomancer.trellis.das2.model.Das2SourcesResponseI;
import genomancer.trellis.das2.model.Das2VersionI;
import genomancer.util.TimeCheck;
import genomancer.vine.das2.client.modelimpl.Das2Coordinates;
import genomancer.vine.das2.client.modelimpl.Das2GenericCapability;
import genomancer.vine.das2.client.modelimpl.Das2SourcesResponse;
import cglgu.trellis.chado.das2.modelimpl.ChadoSourcesCapability;
import cglgu.trellis.chado.das2.cglgu.registry.ManagerFactory;
import cglgu.trellis.chado.das2.cglgu.db.DbUtilFactory;
import cglgu.trellis.chado.das2.cglgu.db.CglguDbUtil;
import cglgu.trellis.chado.das2.cglgu.Project;
import java.sql.Statement;
import java.net.URI;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;


public class ChadoSourcesCapability extends cglgu.trellis.chado.das2.modelimpl.ChadoSourcesCapability  {

	static public int max_seqs_allowed = 100;

	Das2SourcesResponseI sources = null;
	Map<URI, Das2SourceI> uri2source = null;
	Map<URI, Das2VersionI> uri2version = null;
	Map<String, ChadoSource> name2source = new HashMap<String, ChadoSource>();
	Map<String, ChadoVersion> name2version = new HashMap<String, ChadoVersion>();

	public ChadoSourcesCapability(URI base_uri, String query_uri, Map<String, String> params)  {
		super(base_uri, query_uri, "sources", null, null);
	}
}